package com.company.project.service;

import com.company.project.core.Page;
import com.company.project.core.Result;
import com.company.project.model.Professional;
import com.company.project.model.Student;
import com.company.project.model.StudentDto;
import com.company.project.model.SysUser;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Set;

/**
 * Description:
 *
 * @author:
 * Date: 2020-04-02
 * Time: 15:59
 */
public interface StudentService {

    public Result upload(MultipartFile file);

    public Result batchSaveStudent(List<Student> studentList);

    public Result batchSaveCollege(Set<String> collegeSet);


    public Result batchSaveProfessional(List<Professional> professionalList);

    /**
     * 查询学生列表-分页
     * @param studentName 学生名称
     * @param college 学院名称
     * @param professional 专业名称
     * @param pageInfo 分页信息
     * @return
     */
    public Result queryStudentPage(String studentName, String college
            , String professional, Integer status, Page pageInfo);


    public Result getStaticByAge();

    public Result getStaticByProvince();

    public Result getStaticByGender();

    public Result getStaticByNation();


}
